import GeoTransForm from "geotransform";
const gt = new GeoTransForm();// 坐标转换

export default {
  // 获取转换坐标实例
  getEpsgParams(epsgName) {
    return gt.getEpsgParams(epsgName);
  },
  // 坐标转换
  coordTransform(fromSR, toSR, coords) {
    return gt.transform(fromSR, toSR, coords);
  }
 }